/**
 * com.monte.Entity.java
 * create by FengMy from 2013
 */
package com.monte.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * 实体基类
 * @描述:
 * @author FengMy
 * @since 2013-3-4
 */
@MappedSuperclass
public abstract class CoreEntity implements Serializable {
	private static final long serialVersionUID = 1827503080510418275L;
	
	/**
	 * 实体主键
	 */
	@Id
	@Column(name="FID",insertable=true,length=44,nullable=false,updatable=false)
	private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
